package com.dong.combinationMode.model.aggregates;

import com.dong.combinationMode.model.vo.TreeNode;
import com.dong.combinationMode.model.vo.TreeRoot;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Map;

/**
 * @author DongJiaQi
 * @create 2023/1/5 10:15
 * @Description: 规则树聚合
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class TreeRich {
    /**
     * 树根信息
     */
    private TreeRoot treeRoot;
    /**
     * 树节点ID -> 子节点
     */
    private Map<Long, TreeNode> treeNodeMap;
}
